package com.google.code.bankagregator.adapter.bank.delta;

import com.google.code.bankagregator.adapter.Adapter;
import com.google.code.bankagregator.adapter.bank.delta.parser.credit.CreditGotivkaParser;
import com.google.code.bankagregator.common.AbstractAdapter;
import com.google.code.bankagregator.common.reader.CreditReader;
import com.google.code.bankagregator.common.reader.DepositReader;

import java.util.ArrayList;
import java.util.List;

/**
 * Class adapter for getting data from Delta bank
 */
public class AdapterDelta extends AbstractAdapter implements Adapter {

    /**
     * Getting list of data sources
     *
     * @return List
     */
    @Override
    public List<CreditReader> getCreditReadersList() {
        List<CreditReader> creditDataSource = new ArrayList<>();
        creditDataSource.add(new CreditGotivkaParser("http://gotivochka.com.ua/tarifs.html"));
        return creditDataSource;
    }

    /**
     * Getting list of data sources
     *
     * @return List
     */
    @Override
    public List<DepositReader> getDepositReadersList() {
        List<DepositReader> depositDataSource = new ArrayList<>();

        return depositDataSource;
    }
}
